package com.jt9003.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Drugs {
    private Integer drId;

    private String drName;

    private Integer drType;     //药品类型

    private String drTypeShow; //药品类型展示用属性

    private Integer drRecuperationType; //调理方类型

    private String drRecuperationTypeShow;//调理方类型展示用属性

    private String drSpecs;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date drManufactureDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date drValidityDate;

    private String drFrequency;

    private Integer drUsage; //药品用法

    private String drFactory;

    private String drCode;

    private Integer drUnit;

    private String drUnitShow;

    public String getDrUnitShow() {
        return drUnitShow;
    }

    public void setDrUnitShow(String drUnitShow) {
        this.drUnitShow = drUnitShow;
    }

    private String drRemarks;

    private BigDecimal drPriceSales;

    private String drConsumptionDay;    //每天使用次数

    private String drConsumptionTimes;  //每次使用次数

    private String preTakeType;     //服用方式

    private String drProducingArea;

    private Integer drState;

    //药品数量
    private Integer wareAmount;
    private  Warehouse warehouse;

    private Ware_stock ware_stock;

    private String documentNo;

    public String getDrTypeShow() {

        return drTypeShow;
    }

    public String getDrRecuperationTypeShow() {
        return drRecuperationTypeShow;
    }

    public void setDrRecuperationTypeShow(String drRecuperationTypeShow) {
        this.drRecuperationTypeShow = drRecuperationTypeShow;
    }

    public void setDrTypeShow(String drTypeShow) {
        this.drTypeShow = drTypeShow;
    }

    public Integer getDrRecuperationType() {
        return drRecuperationType;
    }

    public void setDrRecuperationType(Integer drRecuperationType) {
        this.drRecuperationType = drRecuperationType;
    }

    public Integer getDrState() {
        return drState;
    }

    public void setDrState(Integer drState) {
        this.drState = drState;
    }


    public Integer getDrId() {
        return drId;
    }

    public void setDrId(Integer drId) {
        this.drId = drId;
    }

    public String getDrName() {
        return drName;
    }

    public void setDrName(String drName) {
        this.drName = drName == null ? null : drName.trim();
    }

    public String getPreTakeType() {
        return preTakeType;
    }

    public void setPreTakeType(String preTakeType) {
        this.preTakeType = preTakeType;
    }
    public Integer getDrType() {

        return drType;
    }

    public void setDrType(Integer drType) {

        this.drType = drType;
    }

    public String getDrSpecs() {
        return drSpecs;
    }

    public void setDrSpecs(String drSpecs) {
        this.drSpecs = drSpecs == null ? null : drSpecs.trim();
    }

    public Date getDrManufactureDate() {
        return drManufactureDate;
    }

    public void setDrManufactureDate(Date drManufactureDate) {
        this.drManufactureDate = drManufactureDate;
    }

    public Date getDrValidityDate() {
        return drValidityDate;
    }

    public void setDrValidityDate(Date drValidityDate) {
        this.drValidityDate = drValidityDate;
    }

    public String getDrFrequency() {
        return drFrequency;
    }

    public void setDrFrequency(String drFrequency) {
        this.drFrequency = drFrequency == null ? null : drFrequency.trim();
    }

    public Integer getDrUsage() {
        return drUsage;
    }

    public void setDrUsage(Integer drUsage) {
        this.drUsage = drUsage;
    }

    public String getDrFactory() {
        return drFactory;
    }

    public void setDrFactory(String drFactory) {
        this.drFactory = drFactory == null ? null : drFactory.trim();
    }

    public String getDrCode() {
        return drCode;
    }

    public void setDrCode(String drCode) {
        this.drCode = drCode == null ? null : drCode.trim();
    }

    public Integer getDrUnit() {
        return drUnit;
    }

    public void setDrUnit(Integer drUnit) {
        this.drUnit = drUnit;
    }

    public String getDrRemarks() {
        return drRemarks;
    }

    public void setDrRemarks(String drRemarks) {
        this.drRemarks = drRemarks == null ? null : drRemarks.trim();
    }

    public BigDecimal getDrPriceSales() {
        return drPriceSales;
    }

    public void setDrPriceSales(BigDecimal drPriceSales) {
        this.drPriceSales = drPriceSales;
    }

    public String getDrConsumptionDay() {
        return drConsumptionDay;
    }

    public void setDrConsumptionDay(String drConsumptionDay) {
        this.drConsumptionDay = drConsumptionDay == null ? null : drConsumptionDay.trim();
    }

    public String getDrConsumptionTimes() {
        return drConsumptionTimes;
    }

    public void setDrConsumptionTimes(String drConsumptionTimes) {
        this.drConsumptionTimes = drConsumptionTimes == null ? null : drConsumptionTimes.trim();
    }

    public String getDrProducingArea() {
        return drProducingArea;
    }

    public void setDrProducingArea(String drProducingArea) {
        this.drProducingArea = drProducingArea == null ? null : drProducingArea.trim();
    }

    public Integer getWareAmount() {
        return wareAmount;
    }

    public void setWareAmount(Integer wareAmount) {
        this.wareAmount = wareAmount;
    }

    public Warehouse getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(Warehouse warehouse) {
        this.warehouse = warehouse;
    }

    public Ware_stock getWare_stock() {
        return ware_stock;
    }

    public void setWare_stock(Ware_stock ware_stock) {
        this.ware_stock = ware_stock;
    }

    public String getDocumentNo() {
        return documentNo;
    }

    public void setDocumentNo(String documentNo) {
        this.documentNo = documentNo;
    }
}